package com.jianbing.zuixia.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * zuixia签到记录对象 zuixia_checkin_record
 * 
 * @author windbless
 * @date 2024-06-18
 */
public class ZuixiaCheckinRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到记录ID，主键，自增 */
    @Excel(name = "签到记录ID，主键，自增")
    private Long checkinId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 签到时间 */
     @JsonFormat(pattern="yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkinTime;

    /** 目前签到天数 */
    @Excel(name = "目前签到天数")
    private Long currentCheckinDays;

    /** 本周年周次 */
    @Excel(name = "本周年周次")
    private Long currentWeek;

    /** 本周签到次数统计 */
    @Excel(name = "本周签到次数统计")
    private Long weeklyCheckinCount;

    public void setCheckinId(Long checkinId) 
    {
        this.checkinId = checkinId;
    }

    public Long getCheckinId() 
    {
        return checkinId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCheckinTime(Date checkinTime) 
    {
        this.checkinTime = checkinTime;
    }

    public Date getCheckinTime() 
    {
        return checkinTime;
    }
    public void setCurrentCheckinDays(Long currentCheckinDays) 
    {
        this.currentCheckinDays = currentCheckinDays;
    }

    public Long getCurrentCheckinDays() 
    {
        return currentCheckinDays;
    }
    public void setCurrentWeek(Long currentWeek) 
    {
        this.currentWeek = currentWeek;
    }

    public Long getCurrentWeek() 
    {
        return currentWeek;
    }
    public void setWeeklyCheckinCount(Long weeklyCheckinCount) 
    {
        this.weeklyCheckinCount = weeklyCheckinCount;
    }

    public Long getWeeklyCheckinCount() 
    {
        return weeklyCheckinCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkinId", getCheckinId())
            .append("userId", getUserId())
            .append("checkinTime", getCheckinTime())
            .append("currentCheckinDays", getCurrentCheckinDays())
            .append("currentWeek", getCurrentWeek())
            .append("weeklyCheckinCount", getWeeklyCheckinCount())
            .toString();
    }
}
